var GameAudioMgr = cc.Class({
    extends: cc.Component,

    statics:{
        instance:null,
    },

    properties: {
        audioBgm: {
            type: cc.AudioClip,
            default: null
        },
    },

    onLoad(){
        GameAudioMgr.instance = this;
    },

    playBgm() {
        G.audio.playBgm(this.audioBgm);
    },
    stopBgm() {
        G.audio.stopBgm();
    },

});
